names = ("柯南",)
print(type(names))

names = ("柯南", "梅超风", "古巨基")
print(type(names))

print("------------------------组包解包")

names = "柯南", "梅超风", "古巨基"
print(type(names))

stu = "张三丰", 42, 180.5
name, age, height = stu
print("name: {} age: {} height: {}".format(name, age, height))

print("-----------------------数据交换")
a = 4
b = 7
temp = a
a = b
b = temp
print(a, b)

a = 3
b = 2
a, b = b, a
print(a, b)

print("----------------------list变为不可修改")
name_list = ["流川枫", "樱木花道", "佐助", "纲手"]
name_list = tuple(name_list)
# name_list[2] = "123"
# name_list.append